import {defineStore} from "pinia";
import {ref} from "vue";

export const useDefaultAvatarStore = defineStore('defaultAvatar',()=>{
    //定义状态内容

    //1.响应式变量
    const defaultAvatar=ref("https://cube.elemecdn.com/9/c2/f0ee8a3c7c9638a54940382568c9dpng.png")


    return{
        defaultAvatar
    }
},{
    persist:true //持久化存储
})